Skip to content

Conversation

@rickardsundin
Copy link
Contributor

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Fixes #5167

If the user selects cancel in the confirmation dialog, the sign out will now be aborted.

The method logoutFromSsoConnection also calls deleteSsoConnection() if connection is ProfileSsoManagedBearerSsoConnection, so removing that call from SsoLogoutAction.

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

)

If the user selects cancel in the confirmation dialog, the sign out
will now be aborted.

The method logoutFromSsoConnection also calls deleteSsoConnection() if
the connection is of type ProfileSsoManagedBearerSsoConnection, so it
is does not have to be called from SsoLogoutAction.
@rickardsundin rickardsundin requested a review from a team as a code owner December 6, 2024 17:07
Copy link
Contributor

@rli rli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the contribution

@rli rli enabled auto-merge (squash) December 6, 2024 17:16
@rli rli merged commit 606cadf into aws:main Dec 6, 2024
11 checks passed
@rickardsundin rickardsundin deleted the bugfix-5167 branch December 6, 2024 18:16
karanA-aws pushed a commit to karanA-aws/aws-toolkit-jetbrains that referenced this pull request Jan 17, 2025
) (aws#5176)

If the user selects cancel in the confirmation dialog, the sign out
will now be aborted.

The method logoutFromSsoConnection also calls deleteSsoConnection() if
the connection is of type ProfileSsoManagedBearerSsoConnection, so it
is does not have to be called from SsoLogoutAction.
karanA-aws pushed a commit to karanA-aws/aws-toolkit-jetbrains that referenced this pull request Jan 22, 2025
) (aws#5176)

If the user selects cancel in the confirmation dialog, the sign out
will now be aborted.

The method logoutFromSsoConnection also calls deleteSsoConnection() if
the connection is of type ProfileSsoManagedBearerSsoConnection, so it
is does not have to be called from SsoLogoutAction.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chosing Cancel on Sign Out confirmation still deletes profiles from ~/.aws/config

3 participants